package cn.jiedh.app.meiweidk.entity;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * @name：
 * @author： liuyun
 * @phone： 15723310658
 * @createTime： 2017/9/6
 * @modifyTime： 2017/9/6
 * @explain：说明 消息
 */
@Table(name = "MsgInfoBean")
public class MsgInfoBean {
    @Column(name = "id", isId = true)
    private String id;//数据库主键，数据库不能存int型的主键
    private int messageId;//消息ID
    private String title;//	标题
    private String imgUrl;//图片地址 活动消息返回
    private String messageDescribe;//消息描述 系统消息返回
    private String startTime;//	开始时间
    private int messageType;//	消息类型 0链接，1富文本
    private String link;//	链接 当messageType为连接类型是返回
    private String text;// 富文本 当messageType为富文本类型时返回
    @Column(name = "state")
    private String state;//状态，未读已读

    public MsgInfoBean() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getMessageDescribe() {
        return messageDescribe;
    }

    public void setMessageDescribe(String messageDescribe) {
        this.messageDescribe = messageDescribe;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public int getMessageType() {
        return messageType;
    }

    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

}
